package mark.tom.friend.base;

import android.content.Context;
import android.view.View;

import com.liaoinstan.springview.container.AcFunFooter;
import com.liaoinstan.springview.utils.DensityUtil;

public class FriendFooter extends AcFunFooter {

    private Context mContext;

    public FriendFooter(Context context, int imgSrc) {
        super(context, imgSrc);
        this.mContext = context;
    }

    @Override
    public int getDragLimitHeight(View rootView) {
        return DensityUtil.dip2px(mContext, 60);
    }

    @Override
    public int getDragSpringHeight(View rootView) {
        return DensityUtil.dip2px(mContext, 60);
    }
}
